#include <stdio.h>

// 声明函数
const char *ncnn_version(void);

int main()
{
    const char *version = ncnn_version();
    printf("NCNN Version: %s\n", version);
    return 0;
}

// gcc test_ncnn_version.c -L/mnt/f/work/openmmlab_wl/ncnn/build/install/lib -lncnn -lglslang -lMachineIndependent -lOSDependent -lSPIRV -lGenericCodeGen -lglslang-default-resource-limits -lstdc++ -lm -lgomp -lpthread -ldl -o test_ncnn && ./test_ncnn